package common.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import common.config.datasource.DataSourceConstants;
import common.model.po.MySqlSlowLog;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * SlowLog Mapper接口
 *
 * @author 米泽鹏
 * @since 2022-03-22
 */
@Mapper
@DS(DataSourceConstants.MYSQL_DATASOURCE)
public interface CommonMysqlSlowSqlMapper extends BaseMapper<MySqlSlowLog> {

	List<Object> addSlowSql();

}
